package com.aaa.sbm.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @FileName: Result
 * @Description:统一封装结果
 * @Author: zhz
 * @CreateTime: 2025/8/21 11:38
 * @Version: 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result <T>{

    //返回状态码
    private Integer code;

    //返回提示信息
    private String message;

    //返回数据  T 泛指任意类型
    private T  data;
}
